<h3>给注册用户发送群体邮件</h3>
<form action="/admin/send_email" method="post" onsubmit="copy_content_before_form_submit('editor', 'email_content');" >
<table>
	<tr>
        <td>
            发送给
        </td>
        <td>
            <input type="text" name="email_recipient" />(多个接收人请用半角逗号分隔) 或者 <input type="checkbox" name="all_user" > 发给所有用户
        </td>
    </tr>
    <tr>
        <td>
            标题
        </td>
        <td>
            <input type="text" name="email_title" />
        </td>
    </tr>
    <tr>
        <td>
            内容
        </td>
        <td>
            <textarea id="email_content" name="email_content" style="display: none"></textarea>
            <iframe id="editor" name="editor" src="/editor.html?ubb=0&id=email_content" frameBorder="0" marginHeight="0" marginWidth="0" scrolling="No" style="height:400px;width:700px"></iframe>
        </td>
    </tr>
    <tr>
        <td>
			<%= submit_tag "发送" %>
        </td>
    </tr>
</table>
</form>